<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="/static/css/main.css" type="text/css" />
<title>Registration</title>
</head>
<body>
<div id="main">

<br/><br/><br/>
		<div id="text-green">
<p>
Welcome to the Picket, <sec:authentication property="principal.nickname" />.
Please enter your registration details in order to play the game.
</p>
		</div>


		<div class="curved-box">
		<div id="inputBox">
		<h2></h2>

<form:form id="register" action="register" method="post" modelAttribute="registrationForm">
  		<form:label path="firstname">
  		First Name:
 		</form:label> <form:errors path="firstname" cssClass="fieldError" /><br />
  		<form:input path="firstname" cssClass="inputArea"/> <br />
<br/>
  		<form:label path="lastname">
  		Last Name:
 		</form:label><form:errors path="lastname" cssClass="fieldError" /> <br />
  		<form:input path="lastname" cssClass="inputArea" /><br />
  		<br/>
	<input type="submit" id="submitButton" name="submitButton" value="">
</form:form>
		<p/>	   
		</div></div>



</body>
</div>
</html>
